home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 3006 / 3006.xpi / chrome / dwhelper.jar / content / dwhelper.xul < prev    next >
Extensible Markup Language  |  2010-01-15  |  5KB  |  110 lines

  1. <?xml version="1.0"?>
  2. <!-- *****************************************************************************
  3.  *            Copyright (c) 2006-2009 Michel Gutierrez. All Rights Reserved.
  4.  ****************************************************************************** -->
  5. <?xml-stylesheet href="chrome://dwhelper/skin/dwhelper.css" type="text/css"?>
  6. <?xml-stylesheet href="chrome://dwhelper/content/bindings.css" type="text/css"?>
  7.  
  8. <!DOCTYPE overlay SYSTEM "chrome://dwhelper/locale/dwhelper.dtd" >
  9.  
  10. <overlay id="dwhelper"
  11.     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  12.  
  13.     <script type="application/x-javascript"
  14.         src="chrome://dwhelper/content/dwhelper.js" />
  15.  
  16.     <keyset id="mainKeyset">
  17.         <key id="dwhelper-quick-key" oncommand="DWHelper.core.quickDownloadCommand()" key="Q" modifiers="control shift"/>
  18.         <key id="dwhelper-opendir-key" oncommand="DWHelper.core.openDownloadDirectoryCommand()" key="O" modifiers="control shift"/>
  19.     </keyset>
  20.  
  21.     <toolbarpalette id="BrowserToolbarPalette">
  22.  
  23.         <toolbaritem 
  24.               class="toolbaritem-1 chromeclass-toolbar-additional"
  25.             id="dwhelper-toolbaritem" align="center" pack="end" flex="0" context="_child"
  26.             >
  27.             <toolbarbutton id="dwhelper-button"
  28.                   class="toolbarbutton-1 chromeclass-toolbar-additional"
  29.                 flex="0"
  30.                 image="chrome://dwhelper/skin/dwhelper16-on.gif"
  31.                 label="&version.name;" hidden="false"
  32.                 tooltiptext="&version.name;"
  33.                 >
  34.                 <menupopup class="DownloadMenu" dh-controlled-button="dwhelper-button"/>
  35.             </toolbarbutton>
  36.             <CounterLabel id="dwhelper-count"/>
  37.             <menupopup  class="SystemMenu" id="dwhelper-bctxmenupopup"/>
  38.         </toolbaritem>
  39.  
  40.     </toolbarpalette>
  41.  
  42.     <statusbar id="status-bar">
  43.         <statusbarpanel id="dwhelper-statusbarpanel"
  44.             insertbefore="security-button" hidden="true" context="_child">
  45.             <toolbarbutton id="dwhelper-statusbar-button" type="menu-button"
  46.                   class="toolbarbutton-1 chromeclass-toolbar-additional"
  47.                 image="chrome://dwhelper/skin/dwhelper16-on.gif"
  48.                 tooltiptext="&version.name;"
  49.                 oncommand="DWHelper_buttonClicked(event)">
  50.                 <menupopup id="dwhelper-statusbar-menupopup" class="DownloadMenu" dh-controlled-button="dwhelper-statusbar-button"/>
  51.             </toolbarbutton>
  52.             <CounterLabel id="dwhelper-statusbar-count"/>
  53.             <menupopup  id="dwhelper-sbctxmenupopup" class="SystemMenu"/>
  54.         </statusbarpanel>
  55.     </statusbar>
  56.  
  57.  
  58.     <popup id="contentAreaContextMenu">
  59.         <menu id="dwhelper-ctxmenu"
  60.               label="&version.name;" 
  61.             insertbefore="context-sep-selectall,context-sep-stop,context-sep-copylink"
  62.               class="menu-iconic"
  63.               image="chrome://dwhelper/skin/dwhelper16-on.gif"
  64.         >
  65.             <menupopup id="dwhelper-ctxmenupopup" class="SystemMenu"/>
  66.         </menu>
  67.         <menuitem id="dwhelper-ytlinks" label="&menu.ytlinks;" class="ContextMenuitem" 
  68.             context-item-handler="@downloadhelper.net/youtube-links-context-item;1"/>
  69.         <menu id="dwhelper-snmenu"
  70.             class="ContextMenuIconic"
  71.             context-item-handler="@downloadhelper.net/smart-namer;1"
  72.               label="&smartname.menu-name;" 
  73.             insertbefore="context-sep-selectall,context-sep-stop,context-sep-copylink"
  74.               image="chrome://dwhelper/skin/dwhelper16-on.gif"
  75.         >
  76.             <menupopup dwhelper-monitored-context-submenu="true">
  77.                 <menuitem id="dwhelper-snmenu-set-name" label="&smartname.menu-set-name;" class="ContextMenuitem" context-item-handler="@downloadhelper.net/smart-namer;1" />
  78.                 <menuitem id="dwhelper-snmenu-set-descr" label="&smartname.menu-set-descr;" class="ContextMenuitem" context-item-handler="@downloadhelper.net/smart-namer;1" />
  79.                 <menuitem id="dwhelper-snmenu-share-now" label="&smartname.menu-share-now;" class="ContextMenuitem" context-item-handler="@downloadhelper.net/smart-namer;1" />
  80.                 <menuitem id="dwhelper-snmenu-import" label="&smartname.menu-import;" class="ContextMenuitem" context-item-handler="@downloadhelper.net/smart-namer;1" />
  81.             </menupopup>
  82.         </menu>
  83.             
  84.     </popup>
  85.  
  86.     <popup id="menu_ToolsPopup">
  87.         <menuseparator id="dwhelper-toolsmenu-separator"/>
  88.         <menu id="dwhelper-toolsmenu"
  89.               label="&version.name;" 
  90.               class="menu-iconic"
  91.               image="chrome://dwhelper/skin/dwhelper16-on.gif"
  92.         >
  93.             <menupopup id="dwhelper-toolsmenupopup" class="SystemMenu"/>
  94.         </menu>
  95.     </popup>
  96.     
  97.     <popup id="taskPopup">
  98.         <menuseparator id="dwhelper-toolsmenu-separator"/>
  99.         <menu id="dwhelper-toolsmenu"
  100.               label="&version.name;" 
  101.               class="menu-iconic"
  102.               image="chrome://dwhelper/skin/dwhelper16-on.gif"
  103.         >
  104.             <menupopup id="dwhelper-toolsmenupopup" class="SystemMenu"/>
  105.         </menu>
  106.     </popup>
  107.     
  108. </overlay>
  109.  
  110.